package com.leeoohoo.enums;

import lombok.Getter;

/**
 * @Description:
 * @Author: lei.d.li@capgemini.com
 * @CreateTime: 2023/2/1
 */
@Getter
public enum ResultEnum {

    /**
     * 基础返回枚举
     */
    SUCCESS(200, "success"),
    FAIL(500, "fail");


    private final Integer code;
    private final String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
